package com.fairytask.engine.components.tab
{
	import com.fairytask.engine.components.BaseComponent;
	import com.fairytask.engine.components.text.Label;
	
	import flash.display.Sprite;

	
	public class TabViewItem extends BaseComponent
	{
		private var _width		:Number;
		private var _height	:Number;
		
		private var _id		:String;
		
		public function TabViewItem(w:uint,h:uint)
		{
			super();
			_width	=	w;
			_height	=	h;
			initGUI();
		}
		
		private function initGUI():void
		{
			drawBG();
		}
		
		private function drawBG():void
		{
//			graphics.beginFill(0xeeff00);
//			graphics.drawRect(0,0,_width,_height);
//			graphics.endFill();
		}

		override public function set height(value:Number):void
		{
			_height = value;
			drawBG();
		}
		
		override public function set width(value:Number):void
		{
			_width = value;
			drawBG();
		}

		public function get id():String
		{
			return _id;
		}

		public function set id(value:String):void
		{
			_id = value;
		}


	}
}